From e87f0e64a39175d61b20c6e3e1b61c8dfce46285 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 7 Feb 2014 20:53:52 -0800 Subject: [PATCH] * files.el (file-relative-name): Doc fix. --- lisp/ChangeLog | 2 ++ lisp/files.el | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bc09960df20..2cfb7b34325 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-02-08 Lars Ingebrigtsen + * files.el (file-relative-name): Doc fix (bug#15159). + * fringe.el (fringe-styles): Doc fix (bug#15239). * isearch.el (isearch-filter-predicate): Documentation typo fix diff --git a/lisp/files.el b/lisp/files.el index cb873b4342f..a8b2a204094 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -4469,6 +4469,8 @@ Uses `backup-directory-alist' in the same way as does "Convert FILENAME to be relative to DIRECTORY (default: `default-directory'). This function returns a relative file name which is equivalent to FILENAME when used with that default directory as the default. +If FILENAME is a relative file name, it will be interpreted as existing in +`default-directory'. If FILENAME and DIRECTORY lie on different machines or on different drives on a DOS/Windows machine, it returns FILENAME in expanded form." (save-match-data -- 2.30.2